﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace mForum.Core.Service
{
    using mForum.Core.Messages.UserServiceMessages;

    public interface IUserService
    {
        LogOnResponse ValidateUser(LogOnRequest request);
        RegisterResponse CreateUser(RegisterRequest request);
        DeleteUserResponse DeleteUser(DeleteUserRequest request);
        GetUserByUsernameResponse GetUserByUsername(GetUserByUsernameRequest request);
        ChangeQuestionAndAnswerResponse ChangeQuestionAndAnswer(ChangeQuestionAndAnswerRequest request);
        GetNumberOfUsersOnlineResponse GetNumberOfUsersOnline(GetNumberOfUsersOnlineRequest request);
        ResetPasswordResponse ResetPassword(ResetPasswordRequest request);
        LockOrUnlockUserResponse LockOrUnlockUser(LockOrUnlockUserRequest request);
        UpdateLastActivityResponse UpdateLastActivity(UpdateLastActivityRequest request);
    }
}
